package c.e.b.h.e.k;

import android.util.Log;
import c.e.a.b.g.a;
import c.e.a.b.g.g;
import c.e.b.h.e.b;
import java.util.Objects;

/* compiled from: SessionReportingCoordinator */
public final /* synthetic */ class u0 implements a {
    public final w0 a;

    public u0(w0 w0Var) {
        this.a = w0Var;
    }

    public Object a(g gVar) {
        boolean z;
        w0 w0Var = this.a;
        Objects.requireNonNull(w0Var);
        b bVar = b.a;
        if (gVar.k()) {
            j0 j0Var = (j0) gVar.h();
            StringBuilder g = c.b.a.a.a.g("Crashlytics report successfully enqueued to DataTransport: ");
            g.append(j0Var.b());
            bVar.b(g.toString());
            w0Var.b.c(j0Var.b());
            z = true;
        } else {
            Exception g2 = gVar.g();
            if (bVar.a(3)) {
                Log.d("FirebaseCrashlytics", "Crashlytics report could not be enqueued to DataTransport", g2);
            }
            z = false;
        }
        return Boolean.valueOf(z);
    }
}
